3.397 \(\int \frac{(A+B x) \left (a+c x^2\right )^2}{\sqrt{x}} \, dx\)

Optimal. Leaf size=75 \[ 2 a^2 A \sqrt{x}+\frac{2}{3} a^2 B x^{3/2}+\frac{4}{5} a A c x^{5/2}+\frac{4}{7} a B c x^{7/2}+\frac{2}{9} A c^2 x^{9/2}+\frac{2}{11} B c^2 x^{11/2} \]

[Out]

2*a^2*A*Sqrt[x] + (2*a^2*B*x^(3/2))/3 + (4*a*A*c*x^(5/2))/5 + (4*a*B*c*x^(7/2))/
7 + (2*A*c^2*x^(9/2))/9 + (2*B*c^2*x^(11/2))/11

_______________________________________________________________________________________

Rubi [A]  time = 0.0701886, antiderivative size = 75, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ 2 a^2 A \sqrt{x}+\frac{2}{3} a^2 B x^{3/2}+\frac{4}{5} a A c x^{5/2}+\frac{4}{7} a B c x^{7/2}+\frac{2}{9} A c^2 x^{9/2}+\frac{2}{11} B c^2 x^{11/2} \]

Antiderivative was successfully verified.

[In]  Int[((A + B*x)*(a + c*x^2)^2)/Sqrt[x],x]

[Out]

2*a^2*A*Sqrt[x] + (2*a^2*B*x^(3/2))/3 + (4*a*A*c*x^(5/2))/5 + (4*a*B*c*x^(7/2))/
7 + (2*A*c^2*x^(9/2))/9 + (2*B*c^2*x^(11/2))/11

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 8.77878, size = 78, normalized size = 1.04 \[ 2 A a^{2} \sqrt{x} + \frac{4 A a c x^{\frac{5}{2}}}{5} + \frac{2 A c^{2} x^{\frac{9}{2}}}{9} + \frac{2 B a^{2} x^{\frac{3}{2}}}{3} + \frac{4 B a c x^{\frac{7}{2}}}{7} + \frac{2 B c^{2} x^{\frac{11}{2}}}{11} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((B*x+A)*(c*x**2+a)**2/x**(1/2),x)

[Out]

2*A*a**2*sqrt(x) + 4*A*a*c*x**(5/2)/5 + 2*A*c**2*x**(9/2)/9 + 2*B*a**2*x**(3/2)/
3 + 4*B*a*c*x**(7/2)/7 + 2*B*c**2*x**(11/2)/11

_______________________________________________________________________________________

Mathematica [A]  time = 0.0426873, size = 59, normalized size = 0.79 \[ \frac{2}{3} a^2 \sqrt{x} (3 A+B x)+\frac{4}{35} a c x^{5/2} (7 A+5 B x)+\frac{2}{99} c^2 x^{9/2} (11 A+9 B x) \]

Antiderivative was successfully verified.

[In]  Integrate[((A + B*x)*(a + c*x^2)^2)/Sqrt[x],x]

[Out]

(2*a^2*Sqrt[x]*(3*A + B*x))/3 + (4*a*c*x^(5/2)*(7*A + 5*B*x))/35 + (2*c^2*x^(9/2
)*(11*A + 9*B*x))/99

_______________________________________________________________________________________

Maple [A]  time = 0.008, size = 54, normalized size = 0.7 \[{\frac{630\,B{c}^{2}{x}^{5}+770\,A{c}^{2}{x}^{4}+1980\,aBc{x}^{3}+2772\,aAc{x}^{2}+2310\,{a}^{2}Bx+6930\,A{a}^{2}}{3465}\sqrt{x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((B*x+A)*(c*x^2+a)^2/x^(1/2),x)

[Out]

2/3465*x^(1/2)*(315*B*c^2*x^5+385*A*c^2*x^4+990*B*a*c*x^3+1386*A*a*c*x^2+1155*B*
a^2*x+3465*A*a^2)

_______________________________________________________________________________________

Maxima [A]  time = 0.687883, size = 72, normalized size = 0.96 \[ \frac{2}{11} \, B c^{2} x^{\frac{11}{2}} + \frac{2}{9} \, A c^{2} x^{\frac{9}{2}} + \frac{4}{7} \, B a c x^{\frac{7}{2}} + \frac{4}{5} \, A a c x^{\frac{5}{2}} + \frac{2}{3} \, B a^{2} x^{\frac{3}{2}} + 2 \, A a^{2} \sqrt{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + a)^2*(B*x + A)/sqrt(x),x, algorithm="maxima")

[Out]

2/11*B*c^2*x^(11/2) + 2/9*A*c^2*x^(9/2) + 4/7*B*a*c*x^(7/2) + 4/5*A*a*c*x^(5/2)
+ 2/3*B*a^2*x^(3/2) + 2*A*a^2*sqrt(x)

_______________________________________________________________________________________

Fricas [A]  time = 0.271667, size = 72, normalized size = 0.96 \[ \frac{2}{3465} \,{\left (315 \, B c^{2} x^{5} + 385 \, A c^{2} x^{4} + 990 \, B a c x^{3} + 1386 \, A a c x^{2} + 1155 \, B a^{2} x + 3465 \, A a^{2}\right )} \sqrt{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + a)^2*(B*x + A)/sqrt(x),x, algorithm="fricas")

[Out]

2/3465*(315*B*c^2*x^5 + 385*A*c^2*x^4 + 990*B*a*c*x^3 + 1386*A*a*c*x^2 + 1155*B*
a^2*x + 3465*A*a^2)*sqrt(x)

_______________________________________________________________________________________

Sympy [A]  time = 5.28163, size = 78, normalized size = 1.04 \[ 2 A a^{2} \sqrt{x} + \frac{4 A a c x^{\frac{5}{2}}}{5} + \frac{2 A c^{2} x^{\frac{9}{2}}}{9} + \frac{2 B a^{2} x^{\frac{3}{2}}}{3} + \frac{4 B a c x^{\frac{7}{2}}}{7} + \frac{2 B c^{2} x^{\frac{11}{2}}}{11} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x+A)*(c*x**2+a)**2/x**(1/2),x)

[Out]

2*A*a**2*sqrt(x) + 4*A*a*c*x**(5/2)/5 + 2*A*c**2*x**(9/2)/9 + 2*B*a**2*x**(3/2)/
3 + 4*B*a*c*x**(7/2)/7 + 2*B*c**2*x**(11/2)/11

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.267602, size = 72, normalized size = 0.96 \[ \frac{2}{11} \, B c^{2} x^{\frac{11}{2}} + \frac{2}{9} \, A c^{2} x^{\frac{9}{2}} + \frac{4}{7} \, B a c x^{\frac{7}{2}} + \frac{4}{5} \, A a c x^{\frac{5}{2}} + \frac{2}{3} \, B a^{2} x^{\frac{3}{2}} + 2 \, A a^{2} \sqrt{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^2 + a)^2*(B*x + A)/sqrt(x),x, algorithm="giac")

[Out]

2/11*B*c^2*x^(11/2) + 2/9*A*c^2*x^(9/2) + 4/7*B*a*c*x^(7/2) + 4/5*A*a*c*x^(5/2)
+ 2/3*B*a^2*x^(3/2) + 2*A*a^2*sqrt(x)